﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="editlevel.aspx.cs" Inherits="pro_mis_level_editlevel" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>评级专家：评级</title>
    <link href="../../../css/main.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <div>
            <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="../mislist.aspx">返回任务列表<img alt="" src="../../../images/arrowRight.png" />
            </asp:HyperLink><hr style="color: #3399FF" />
        </div>
        <div id="content">
            <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
                ConnectionString="<%$ ConnectionStrings:appConnectionString %>" 
                
                SelectCommand="SELECT [rule].ruleid, [rule].rulename, [rule].modelid, [rule].description, levelmission.levelmissionid FROM project INNER JOIN levelmission ON project.projectid = levelmission.projectid INNER JOIN model ON project.modelid = model.modelid INNER JOIN [rule] ON model.modelid = [rule].modelid WHERE (levelmission.levelmissionid = @levelmissionid)">
                <SelectParameters>
                    <asp:QueryStringParameter Name="levelmissionid" 
                        QueryStringField="levelmissionid" />
                </SelectParameters>
            </asp:SqlDataSource>
            <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
                BorderStyle="None" CellPadding="4" DataKeyNames="ruleid" 
                DataSourceID="SqlDataSource1" ForeColor="#333333" GridLines="None" Width="100%">
                <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                <Columns>
                    <asp:TemplateField HeaderText="ruleid" InsertVisible="False" 
                        SortExpression="ruleid" Visible="False">
                        <EditItemTemplate>
                            <asp:Label ID="Label1" runat="server" Text='<%# Eval("ruleid") %>'></asp:Label>
                        </EditItemTemplate>
                        <ItemTemplate>
                            <asp:Label ID="Label1" runat="server" Text='<%# Bind("ruleid") %>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:BoundField DataField="rulename" HeaderText="准则名称" 
                        SortExpression="rulename" ItemStyle-Width="222px" >
<ItemStyle Width="222px"></ItemStyle>
                    </asp:BoundField>
                    <asp:BoundField DataField="description" HeaderText="描述" 
                        SortExpression="description" />
                    <asp:TemplateField>
                        <ItemTemplate>
                            <asp:Label ID="lb_state" runat="server"></asp:Label>
                        </ItemTemplate>
                        <ItemStyle HorizontalAlign="Center" />
                    </asp:TemplateField>
                    <asp:HyperLinkField DataNavigateUrlFields="ruleid,levelmissionid" 
                        
                        DataNavigateUrlFormatString="editlevel2.aspx?ruleid={0}&amp;levelimssionid={1}" 
                        Text="&gt;&gt;评级" ItemStyle-Width="70px">
                        <ItemStyle CssClass="bacimg1" />
                    </asp:HyperLinkField>
                </Columns>
                <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                <EditRowStyle BackColor="#999999" />
                <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
            </asp:GridView>
        </div>
    
    </div>
    </form>
</body>
</html>
